home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / utils / shell / ncd-0.000 / ncd-0 / ncd-0.9.8 / README < prev   
Encoding:
Text File  |  1995-05-06  |  1.9 KB  |  79 lines

  1. --------------------------------------------------------
  2. Installation
  3. ============
  4.  
  5. A compiled copy of the program is already included. It will work
  6. fine with libc.so.4.6.27.
  7.  
  8. If you want to recompile the program, just type:
  9.  
  10.    $ make clean
  11.    $ make
  12.  
  13.  
  14. You will get a binary called 'ncd'. Copy it to /usr/bin:
  15.  
  16.    $ cp ncd /usr/bin
  17.  
  18.  
  19. For the bash shell you MUST add this function to your .profile or
  20. to the system /etc/profile (see the included 'profile' file):
  21.  
  22. function ncd()
  23. {
  24.         /usr/bin/ncd $*;
  25.         if [ $? = 0 ]; then
  26.                 cd "$(cat $HOME/.ncd_sdir)";
  27.         fi
  28. }
  29.  
  30. For the tcsh shell, you MUST add this alias to your .login or to 
  31. the system /etc/csh.login (see the included 'csh.login' file):
  32.  
  33. alias ncd '/usr/bin/ncd \!* ; if $? == 0 cd "`cat $HOME/.ncd_sdir`" '
  34.  
  35.  
  36. Copy the man page to /usr/man/man1:
  37.  
  38.     $ cp ncd.1 /usr/man/man1
  39.  
  40.  
  41. You can gzip the manpage if you want:
  42.  
  43.     $ gzip -9 /usr/man/man1/ncd.1
  44.  
  45.  
  46. If you prefer, you can use a preformated man page instead of 
  47. the groff formated one:
  48.  
  49.     $ cp ncd.man /usr/man/preformat/cat1/ncd.1
  50.     $ gzip -9 /usr/man/preformat/cat1/ncd.1
  51.  
  52.  
  53. Exit current shell and login again so that the alias/function 
  54. gets defined. An that's all, ncd is installed!
  55.  
  56. Read the files COPYING and COPYRIGHT for the legal stuff.
  57.  
  58. --------------------------------------------------------
  59. HISTORY
  60. =======
  61.  
  62. -- version 0.9.7
  63.   * Thanks to  Har-Peled Sariel <sariel@math.tau.ac.il> for his advice!
  64.     The nasty warnings at compile-time have now gone away for ever.
  65.  
  66. -- version 0.9.8
  67.   * Keyboard handling is now corrected. The ncurses ungetch() function
  68.     was a bit problematic. Now I don't use it to detect keystrokes
  69.     without actually reading them.
  70.  
  71.  
  72. --------------------------------------------------------
  73. BUGS
  74. ====
  75.  
  76. - If you have any improvement or bugfix, please send it to 
  77. Borja Etxebarria <borja@bips.bi.ehu.es> or <jtbecgob@s835cc.bi.ehu.es>.
  78.  
  79.